public class Match {
    private int matchID;
    private Team team1;
    private Team team2;
    private Team winner;

    public Match(int matchID, Team team1, Team team2, Team winner) {
        this.matchID = matchID;
        this.team1 = team1;
        this.team2 = team2;
        this.winner = winner;
    }

    public int getMatchID() {
        return matchID;
    }

    public Team getTeam1() {
        return team1;
    }

    public Team getTeam2() {
        return team2;
    }

    public Team getWinner() {
        return winner;
    }
}
